import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '*',
      redirect: '/'
    },
    {
      path: '/',
      name: 'BaseFrame',
      component: require('@/components/baseFrame/BaseFrame').default
    },
    {
      path: '/login',
      name: 'LoginPage',
      component: require('@/components/model/loginPage/LoginPage').default
    }
  ]
})
